#my-slider{
    position: relative;
    width: 790px;
    height: 340px;
}
.slider-list ul{
    list-style-type: none;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}
.slider-list__item,
.slider-list__item--selected{
    position: absolute;
    transition: opacity 1s;
    opacity: 0;
    text-align: center;
}
.slider-list__item--selected{
    transition: opacity 1s;
    opacity: 1;
}
.slider-list__previous{
    width: 30px;
    height: 69px;
    font-size: 30px;
    color: white;
    background-color:rgba(0,0,0,0.4);
    line-height: 69px;
    padding-left:5px;
    z-index: 10;/*始终显示在图片的上层*/
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-60%);/*使按钮向上偏移居中对齐*/
    cursor: pointer;
    opacity: 0;/*平时隐藏*/
}
.slider-list:hover .slider-list__previous{
    /*鼠标滑入，显示图标*/
    opacity: 1;
}
.slider-list__next{
    width: 26px;
    height: 69px;
    font-size: 30px;
    color: white;
    background-color:rgba(0,0,0,0.4);
    line-height: 69px;
    padding-left: 5px;
    z-index: 10;
    position: absolute;
    right: 0;
    top: 50%;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-60%);
}
.slider-list:hover .slider-list__next{
    opacity: 1;
}
.slider-list__control{
    height: 20px;
    display: flex;
    position: absolute;
    bottom: 35px;
    right: 25px;
}

.slider-list__control-buttons,
.slider-list__control-buttons-selected
{
    width: 10px;
    height: 10px;
    border-radius: 10px;
    border: 2px solid ;
    cursor: pointer;
    margin: 5px;
}
.slider-list__control-buttons-selected{
    border-color: #ed1250;
    background:rgba(0,0,0,1) ;
}
.slider-list__control-buttons{
    border-color: white;
    background: rgba(0,0,0,0.4);
}